package com.retrofit.server.processor.entity;

import com.squareup.javapoet.CodeBlock;
import java.util.List;
import javax.lang.model.type.TypeMirror;

/**
 * @author YLG
 * @Datetime 2020/5/8-10:44 PM
 * @Version v1.0
 * @description
 */
public class MethodCodeBlockEntity {
  
  private CodeBlock mCodeBlock;
  private CodeBlock.Builder mBuilder;
  
  public MethodCodeBlockEntity(){
    mBuilder=CodeBlock.builder();
  }
  
  public CodeBlock getCodeBlock() {
    return mBuilder.build();
  }
  
  public MethodCodeBlockEntity add(String s, Object ...args) {
    mBuilder.add(s,args);
    return this;
  }
}
